package com.sinovatech.ologger.actionlog.dao;

import java.io.Serializable;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class NullBeanUtilDao implements BeanUtilDao {

	private static final Log logger = LogFactory.getLog(NullBeanUtilDao.class);

	public <T> T getEntityByClassAndId(Class<T> entityClass, Serializable id) {
		logger.error("必须为LogConverterHelper注入beanUtilDao");
		throw new NullPointerException("必须为LogConverterHelper注入beanUtilDao");
	}
}
